import srvHttp from '../../utils/srvHttp'

//获取产品分类信息
export function getGoodsClasstList(data) {
    return srvHttp({
        url: 'GoodsClassService/getGoodsClasstList',
        method: 'POST',
        data: data
    })
}

//删
export function deleteGoodsClass(data) {
    return srvHttp({
        url: 'GoodsClassService/deleteGoodsClass',
        method: 'POST',
        data: data
    })
}
//改
export function editGoodsClass(data) {
    return srvHttp({
        url: 'GoodsClassService/editGoodsClass',
        method: 'POST',
        data: data
    })
}
//增
export function insertGoodsClass(data) {
    return srvHttp({
        url: 'GoodsClassService/insertGoodsClass',
        method: 'POST',
        data: data
    })
}